// 假装是传入的路由数据
const morkRouterList = [
  {
    path: "/errpage",
    component: "Layout",
    redirect: "/errpage/401",
    meta: { title: "异常页面", icon: "el-icon-warning" },
    children: [
      {
        path: "401",
        name: "401",
        component: "error-page/401",
        meta: { title: "401", icon: "401" },
      },
      {
        path: "404",
        component: "error-page/404",
        meta: { title: "404", icon: "404" },
      },
    ],
  },
  {
    path: "/icons",
    component: "Layout",
    redirect: "/icons/index",
    children: [
      {
        path: "index",
        name: "icons",
        component: "icon/index",
        meta: { title: "图标库", icon: "el-icon-info" },
      },
    ],
  },
  {
    path: "/component",
    component: "Layout",
    redirect: "/component/current",
    meta: { title: "组件", icon: "el-icon-menu" },
    children: [
      {
        path: "current",
        name: "current",
        component: "component/CurrentView",
        meta: { title: "通用组件", icon: "document" },
      },
      {
        path: "rich",
        name: "rich",
        component: "component/RichTextView",
        meta: { title: "富文本编辑", icon: "document" },
      },
      {
        path: "json",
        name: "json",
        component: "component/JsonTextView",
        meta: { title: "JSON编辑器", icon: "document" },
      },
    ],
  },
  {
    path: "/system",
    component: "Layout",
    redirect: "/system/log",
    meta: { title: "系统管理", icon: "el-icon-setting" },
    children: [
      {
        path: "log",
        name: "log",
        component: "system/LogView",
        meta: { title: "日志", icon: "el-icon-c-scale-to-original" },
      },
      {
        path: "dict",
        name: "dict",
        component: "system/DictView",
        meta: { title: "字典管理", icon: "el-icon-collection" },
      },
    ],
  },
  {
    path: "/template",
    component: "Layout",
    redirect: "/template/model1",
    meta: { title: "模板", icon: "el-icon-files" },
    children: [
      {
        path: "model1",
        name: "model1",
        component: "template/ModeloneView",
        meta: { title: "模板1", icon: "el-icon-tickets" },
      },
      {
        path: "model2",
        name: "model2",
        component: "template/ModeltwoView",
        meta: { title: "模板2", icon: "el-icon-tickets" },
      },
      {
        path: "model3",
        name: "model3",
        component: "template/ModelthreeView",
        meta: { title: "模板3", icon: "el-icon-tickets" },
      },
    ],
  },
];

export default morkRouterList;
